enumerated type - definition. What is enumerated type
Diclib.com
قاموس ChatGPT
أدخل كلمة أو عبارة بأي لغة 👆
اللغة:

ترجمة وتحليل الكلمات عن طريق الذكاء الاصطناعي ChatGPT

في هذه الصفحة يمكنك الحصول على تحليل مفصل لكلمة أو عبارة باستخدام أفضل تقنيات الذكاء الاصطناعي المتوفرة اليوم:

  • كيف يتم استخدام الكلمة في اللغة
  • تردد الكلمة
  • ما إذا كانت الكلمة تستخدم في كثير من الأحيان في اللغة المنطوقة أو المكتوبة
  • خيارات الترجمة إلى الروسية أو الإسبانية، على التوالي
  • أمثلة على استخدام الكلمة (عدة عبارات مع الترجمة)
  • أصل الكلمة

%ما هو (من)٪ 1 - تعريف

DATA TYPE CONSISTING OF AN UNORDERED SET OF NAMED VALUES
Enumeration (programming); Enum (Computer Science); Enum (computer science); Enumerated types; Enumerated data type; Enums; Comparison of programming languages (enumerated types); Enum class; Enum struct

enumerated type         
<programming> (Or "enumeration") A type which includes in its definition an exhaustive list of possible values for variables of that type. Common examples include Boolean, which takes values from the list [true, false], and day-of-week which takes values [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]. Enumerated types are a feature of strongly typed languages, including C and Ada. Characters, (fixed-size) integers and even floating-point types could be (but are not usually) considered to be (large) enumerated types. (1996-11-28)
Enumerated type         
In computer programming, an enumerated type (also called enumeration, enum, or factor in the R programming language, and a categorical variable in statistics) is a data type consisting of a set of named values called elements, members, enumeral, or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language.
Type (biology)         
  • Linnaeus]], is the type species for the genus ''[[Bufo]]''
  • dorsal]] and 2) ventral aspect of holotype,<br>3) dorsal and 4) ventral aspect of paratype
  • Type illustration of ''[[Mormopterus acetabulosus]]''
ANCHORING POINT (OF A NAME) IN TAXONOMY
Type specimen; Neotype; Biological types; Lectotype; Type (botany); Type (zoology); Botanical type; Clonotype; Type locality (biology); Type material; Paralectotype; Typus; Onomatophore; Cotype; Biological type; Hapantotype; Type specimens; Types in zoology; Type location (biology); Type illustration; Locality (biology); Type-specimen; Orthotype; Isoneotype; Plastotype; Isolectotype; Iconotype; Type series; Neotypification; Lectotypification; Ergatotype; Lectotype specimen; Type host; Typetaxon; Type (taxonomy); Series of type specimens; Hypotype
In biology, a type is a particular [(or in some cases a group of specimens) of an organism] to which the [[scientific name of that organism is formally attached. In other words, a type is an example that serves to anchor or centralize the defining features of that particular taxon.

ويكيبيديا

Enumerated type

In computer programming, an enumerated type (also called enumeration, enum, or factor in the R programming language, and a categorical variable in statistics) is a data type consisting of a set of named values called elements, members, enumeral, or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language. An enumerated type can be seen as a degenerate tagged union of unit type. A variable that has been declared as having an enumerated type can be assigned any of the enumerators as a value. In other words, an enumerated type has values that are different from each other, and that can be compared and assigned, but are not specified by the programmer as having any particular concrete representation in the computer's memory; compilers and interpreters can represent them arbitrarily.

For example, the four suits in a deck of playing cards may be four enumerators named Club, Diamond, Heart, and Spade, belonging to an enumerated type named suit. If a variable V is declared having suit as its data type, one can assign any of those four values to it.

Although the enumerators are usually distinct, some languages may allow the same enumerator to be listed twice in the type's declaration. The names of enumerators need not be semantically complete or compatible in any sense. For example, an enumerated type called color may be defined to consist of the enumerators Red, Green, Zebra, Missing, and Bacon. In some languages, the declaration of an enumerated type also intentionally defines an ordering of its members (High, Medium and Low priorities); in others, the enumerators are unordered (English, French, German and Spanish supported languages); in others still, an implicit ordering arises from the compiler concretely representing enumerators as integers.

Some enumerator types may be built into the language. The Boolean type, for example is often a pre-defined enumeration of the values False and True. A unit type consisting of a single value may also be defined to represent null. Many languages allow users to define new enumerated types.

Values and variables of an enumerated type are usually implemented with some integer type as the underlying representation. Some languages, especially system programming languages, allow the user to specify the bit combination to be used for each enumerator, which can be useful to efficiently represent sets of enumerators as fixed-length bit strings. In type theory, enumerated types are often regarded as tagged unions of unit types. Since such types are of the form 1 + 1 + + 1 {\displaystyle 1+1+\cdots +1} , they may also be written as natural numbers.